<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    #inp{
        width: 600px;
        height: 200px
    }


</style>
<body>
<form action="${blog==null?'/blog/submit':'/blog/update'}" method="post">


    <input type="hidden" name="blog.id" value="${blog.id}">
    <P><label>text:</label><input type="text" name="blog.title" value="${blog.title}"></P>
    <p><label>note:</label>
        <input id="inp" type="text" name="blog.content" value="${blog.content}">
        <%--<textarea style="width: 600px;height: 200px;" name="blog.content" ></textarea>--%>
    </p>

    <input type="submit" value="提交">
</form>
</body>
</html>